home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
- DOSVAR
-
-
-
- Batch Variable Modifier
-
-
-
- User's Manual
-
-
-
-
-
-
-
-
- Copyright (C) 1994
-
- and
-
- All Rights Reserved
-
- by
-
- -- PINNACLE SOFTWARE --
- CP 386 Ville Mont Royal
- Quebec, Canada, H3P 3C6
-
-
-
-
-
-
- ===========================================================================
- What Is DosVar?
- ===========================================================================
-
-
- DosVar is a program that will modify variables in a batch file. It supports
- substrings, justification, zero-stripping and other useful functions.
-
-
-
- ===========================================================================
- Installing DosVar
- ===========================================================================
-
-
- If you are simply trying DOSVAR, you can do so in the current directory,
- using the START.BAT program to demonstrate the techniques.
-
- For daily use, the DOSVAR.EXE program and the associated files (such as
- START.BAT) should be placed in a DOS PATH directory. For an explanation of
- the DOS PATH, see your DOS manual.
-
-
-
- ===========================================================================
- How DosVar Works
- ===========================================================================
-
-
- DosVar creates a batch file named SETVAR.BAT, which does the actual setting
- of the variable. To use DosVar, include it in a batch file, with the
- appropriate parameters, followed by a CALL to the batch file SETVAR.BAT.
- For example:
-
- @ECHO OFF
- DOSVAR /vABCDEFG /nMYVAR /jR /o10 /c$
- CALL SETVAR.BAT
- ECHO Expected result: $$$ABCDEFG
- ECHO Actual result: %MYVAR%
-
- For other examples, run START.BAT.
-
-
-
- ===========================================================================
- Syntax
- ===========================================================================
-
- For an explanation of DOSVAR's syntax, start up DOSVAR like this:
-
- DOSVAR /?
-
- Alternatively, you can run START.BAT.
-
-
-